package com.chinaedu.oc.service.manageuser;


import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.chinaedu.oc.dao.manageuser.ManageUserDao;
import com.chinaedu.oc.dao.membership.MemberShipDao;
import com.chinaedu.oc.entity.manageuser.ManageUser;


/**
 * @author lidan101
 *
 */
@Service
public class ManageUserService {
	@Resource
	private ManageUserDao manageUserDao;
	@Resource
	private MemberShipDao memberShipDao;

	public void saveUser(ManageUser manageUser) {
		manageUserDao.saveUser(manageUser);
		memberShipDao.saveMembership(manageUser);
	}
	
}
